Move docs inline, fixing them on the way. (#143029, Steve Chaplin)
authorMatthias Clasen <maclas@gmx.de>
Wed, 26 May 2004 01:57:54 +0000 (01:57 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 26 May 2004 01:57:54 +0000 (01:57 +0000)
Tue May 25 21:54:00 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkframe.c: Move docs inline, fixing them on the
way.  (#143029, Steve Chaplin)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/reference/ChangeLog
docs/reference/gtk/tmpl/gtkframe.sgml
gtk/gtkframe.c

index 93d266d2f8802bd19000170a8d7a3e6589bf8ced..d601de7a6aeedd7593b4a52dbcb5f0efd6c0bb30 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue May 25 21:54:00 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkframe.c: Move docs inline, fixing them on the
+       way.  (#143029, Steve Chaplin)
+
 2004-05-11  Robert Ögren  <gtk@roboros.com>
 
        * gdk/win32/gdkevents-win32.c (propagate): Don't propagate mouse
index 93d266d2f8802bd19000170a8d7a3e6589bf8ced..d601de7a6aeedd7593b4a52dbcb5f0efd6c0bb30 100644 (file)
@@ -1,3 +1,8 @@
+Tue May 25 21:54:00 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkframe.c: Move docs inline, fixing them on the
+       way.  (#143029, Steve Chaplin)
+
 2004-05-11  Robert Ögren  <gtk@roboros.com>
 
        * gdk/win32/gdkevents-win32.c (propagate): Don't propagate mouse
index 93d266d2f8802bd19000170a8d7a3e6589bf8ced..d601de7a6aeedd7593b4a52dbcb5f0efd6c0bb30 100644 (file)
@@ -1,3 +1,8 @@
+Tue May 25 21:54:00 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkframe.c: Move docs inline, fixing them on the
+       way.  (#143029, Steve Chaplin)
+
 2004-05-11  Robert Ögren  <gtk@roboros.com>
 
        * gdk/win32/gdkevents-win32.c (propagate): Don't propagate mouse
index 93d266d2f8802bd19000170a8d7a3e6589bf8ced..d601de7a6aeedd7593b4a52dbcb5f0efd6c0bb30 100644 (file)
@@ -1,3 +1,8 @@
+Tue May 25 21:54:00 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkframe.c: Move docs inline, fixing them on the
+       way.  (#143029, Steve Chaplin)
+
 2004-05-11  Robert Ögren  <gtk@roboros.com>
 
        * gdk/win32/gdkevents-win32.c (propagate): Don't propagate mouse
index 44a972281b1b68aee5d15991d9eb76eddcced667..cf25269c7018819fa7cda156da63dffa18f5aeed 100644 (file)
@@ -1,3 +1,7 @@
+Tue May 25 21:54:55 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/tmpl/gtkframe.sgml: Move docs inline.
+
 Wed May 19 23:42:40 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gdk/gdk-sections.txt: Add the right include for the "X interaction"
index fe897e15111a5bd83a7a993b1e24c3492b7fb2d0..7d8e42a62d1ec9bd16be956d96207b5448b0e4cf 100644 (file)
@@ -56,8 +56,6 @@ label can be controlled with gtk_frame_set_label_align().
 
 <!-- ##### FUNCTION gtk_frame_new ##### -->
 <para>
-Create a new Frame, with optional label @label.
-If @label is %NULL, the label is omitted.
 </para>
 
 @label: 
@@ -66,9 +64,6 @@ If @label is %NULL, the label is omitted.
 
 <!-- ##### FUNCTION gtk_frame_set_label ##### -->
 <para>
-
-Set the text of the label. If @label is %NULL,
-the current label, if any, is removed.
 </para>
 
 @frame: 
@@ -82,30 +77,23 @@ the current label, if any, is removed.
 
 @frame: 
 @label_widget: 
-<!-- # Unused Parameters # -->
-@title_widget: 
 
 
 <!-- ##### FUNCTION gtk_frame_set_label_align ##### -->
 <para>
-Set the alignment of the Frame widget's label. The
-default value for a newly created Frame is 0.0.
 </para>
 
-@frame: The Frame widget.
-@xalign: The position of the label along the top edge
-  of the widget. A value of 0.0 represents left alignment;
-  1.0 represents right alignment.
-@yalign: The y alignment of the label. Currently ignored.
+@frame:
+@xalign:
+@yalign:
 
 
 <!-- ##### FUNCTION gtk_frame_set_shadow_type ##### -->
 <para>
-Set the shadow type for the Frame widget.
 </para>
 
-@frame: The Frame widget.
-@type: New shadow type.
+@frame:
+@type: 
 
 
 <!-- ##### FUNCTION gtk_frame_get_label ##### -->
index 80ae7ffb1e60d2c8f2cf2b2bc03f8e9d701486a4..02a59c55f48265d6b96c9d98442e84410b395b83 100644 (file)
@@ -263,6 +263,15 @@ gtk_frame_get_property (GObject         *object,
     }
 }
 
+/**
+ * gtk_frame_new:
+ * @label: the text to use as the label of the frame
+ * 
+ * Creates a new #GtkFrame, with optional label @label.
+ * If @label is %NULL, the label is omitted.
+ * 
+ * Return value: a new #GtkFrame widget
+ **/
 GtkWidget*
 gtk_frame_new (const gchar *label)
 {
@@ -297,6 +306,14 @@ gtk_frame_forall (GtkContainer *container,
     (* callback) (frame->label_widget, callback_data);
 }
 
+/**
+ * gtk_frame_set_label:
+ * @frame: a #GtkFrame
+ * @label: the text to use as the label of the frame
+ * 
+ * Sets the text of the label. If @label is %NULL,
+ * the current label is removed.
+ **/
 void
 gtk_frame_set_label (GtkFrame *frame,
                     const gchar *label)
@@ -320,7 +337,7 @@ gtk_frame_set_label (GtkFrame *frame,
  * gtk_frame_get_label:
  * @frame: a #GtkFrame
  * 
- * If the frame's label widget is a #GtkLabel, return the
+ * If the frame's label widget is a #GtkLabel, returns the
  * text in the label widget. (The frame will have a #GtkLabel
  * for the label widget if a non-%NULL argument was passed
  * to gtk_frame_new().)
@@ -346,7 +363,7 @@ gtk_frame_get_label (GtkFrame *frame)
  * @frame: a #GtkFrame
  * @label_widget: the new label widget
  * 
- * Set the label widget for the frame. This is the widget that
+ * Sets the label widget for the frame. This is the widget that
  * will appear embedded in the top edge of the frame as a
  * title.
  **/
@@ -404,6 +421,18 @@ gtk_frame_get_label_widget (GtkFrame *frame)
   return frame->label_widget;
 }
 
+/**
+ * gtk_frame_set_label_align:
+ * @frame: a #GtkFrame
+ * @xalign: The position of the label along the top edge
+ *   of the widget. A value of 0.0 represents left alignment;
+ *   1.0 represents right alignment.
+ * @yalign: The y alignment of the label. A value of 0.0 aligns under 
+ *   the frame; 1.0 aligns above the frame.
+ * 
+ * Sets the alignment of the frame widget's label. The
+ * default values for a newly created frame are 0.0 and 0.5.
+ **/
 void
 gtk_frame_set_label_align (GtkFrame *frame,
                           gfloat    xalign,
@@ -453,6 +482,13 @@ gtk_frame_get_label_align (GtkFrame *frame,
     *yalign = frame->label_yalign;
 }
 
+/**
+ * gtk_frame_set_shadow_type:
+ * @frame: a #GtkFrame
+ * @type: the new #GtkShadowType
+ * 
+ * Sets the shadow type for @frame.
+ **/
 void
 gtk_frame_set_shadow_type (GtkFrame      *frame,
                           GtkShadowType  type)